import { Spin } from 'antd';

const LogRoller = ({ content, rolling }) => {
  return (
    <div className='log-roller'>
      <pre>{content}</pre>
      <Spin spinning={rolling}/>
    </div>
  );
};

export default LogRoller;
